<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<table class="layui-hide" id="test"></table>

<script>
    layui.use(function (){
        let form = layui.form;
        let layer = layui.lay
    })
</script>
</body>
</html>